home *** CD-ROM | disk | FTP | other *** search
/ Hacker's Arsenal - The Cutting Edge of Hacking / Hacker's Arsenal - The Cutting Edge of Hacking.iso / texts / netware2.txt < prev    next >
Text File  |  2001-07-11  |  21KB  |  470 lines

  1. Copyright 1997, Michael Thompson, All rights reserved.
  2. ------------------------------------------------------
  3.  
  4. Welcome to Part Two of Stu boy's Novell NetWare 3.12 Info Guide.
  5. -----------------------------------------------------------
  6. This part consists fully of NetWare's Workstation commands/utilities.
  7. Each utility includes a brief summary and most available parameters.
  8. If you have any questions email me.  
  9. Some of these utilities require the user to have supervisor (or above)
  10. rights.
  11. Many of these utilities are useless to most people, but, I included them
  12. any way.
  13. HAVE FUN!!   :)
  14. I think all things are spelled correctly and all parameters are right, 
  15. but if you have any problems email them to me.  STUBOY@AC.NET
  16. thanks.  :)
  17.  
  18. key:
  19. COMMAND {or util name} -description     -any attribs {and their explanations}
  20.  
  21. {listed in alphabetically order}
  22.  
  23. NetWare 3.12 Workstation utilities.
  24. --------------------------------------------
  25. ACONSOLE-start tremote console session via modem; *2NLMs must be loaded on 
  26. accessed server; RS232.NLM and REMOTE.NLM*
  27.     to connect: run ACONSOLE and fill in needed info.
  28.     Once connected: - options menu- * key
  29.         -move between file server screens - and + keys
  30.         -exit: AVAILABLE OPTIONS - End Remote Session.
  31. syntax: ACONSOLE
  32.  
  33. ALLOW-see/change IRM of file/dir
  34.     syntax: ALLOW <path> <rights>
  35.     -if no <rights> are specified then, current trustee rights are displayed.
  36.     -to change rights- list rights (abbreviated) you want to grant. {see trustee rights part1}
  37.     -seperate multiple rights w/ space.
  38.  
  39. ATOTAL- used to total the usage numbers for the accounting feature (if it has been activated on server)
  40. *tip: direct output to file, instead of watching on screen.
  41. syntax: ATOTAL > <filename>
  42.  
  43. ATTACH- connects user to additional server while still logged on to original; lets user access server's resources; does not exec login script
  44. syntax:  ATTACH server/username
  45. *ATTACH  is also a login script command; allows user to automatically attach to other servers.
  46.  
  47. BINDFIX- repairs NetWare bindery structure problems {bindery = info database (network objects- users and servers)} 
  48. creates new NET$OBJ.SYS; NET$PROP.SYS; NET$VAL.SYS; stores old files as .OLD
  49. indications:
  50.     -users can't change password
  51.     -user's name couldn't be deleted or changed
  52.     -trustee rights can't be changed {also see VREPAIR}
  53.     -server displays bindery errors
  54.     -"unknown server" displayed when print spooling to default printer.
  55. - if BINDFIX doesn't fix problem, copy .OLD files to SYS:SYSTEM; then run BINDREST {see BINDREST}
  56. -when BINDFIX is running:
  57.     -logged-in users will not e affected; will not be able to change trusteee rights or recalc effective rights.
  58.     -new users can not log in
  59.  
  60. BINDREST-restore bindery to pre-BINDFIX state
  61.  
  62. CAPTURE- redirect workstation's lpt port print queue;
  63. syntax: CAPTURE <parameter>
  64. parameters:
  65. A       (AutoEndCap) default; sends data to queue when exit/enter to app
  66. B=<name>        (Banner) name=max 12 characters;  appears on bottom of page
  67.     (default=login name and job's filename}
  68. C=<number>      (copies) number of copies; default = 1
  69. CR=<path>       (create) sends print job to file; path=drive:\path\filename
  70. F=<form>        which form to print on; forms defined in PRINTDEF; default=1
  71. FF      (form feed)-use if app doen't force FF
  72. J=<name>        (job config) specifies print job config; defined in PRINTCON
  73. K       (keep) specifies that server keep all data from workstations; server    will print data if connection is lost
  74. L=<number>      (local) specifies logical lpt(1-3); default=1
  75. NA      (NoAutoEndCap) prevents data from being sent to printer when            enter/exit file
  76. NAM=<name>      max 12 char; appears  on upper part of banner page;     default=login name
  77. NB      (no banner) no banner page
  78. NFF     (no form feed) disables FF at printer
  79. NONOTI  (no notify) prevents  "printing finished" message; used to override     NOTI; default = enabled
  80. NT      (no tabs) allows the app's print formatter to determin how many         spaces per tab; use if app has trouble printer graphics
  81. Q=<name>        (queue) specifies the print queue
  82. S=<name>        (server) specifies server to send jobs to
  83. SH      (shows) displays current captured ports
  84. T=<number>      (tabs) number spaces in tab *use only if app has no print       formatter*
  85. TI=<number>     (timeout) number of seconds to wait before printing; used       instead of waiting til exit; default=0
  86. --CATURE can be used in login scripts
  87.  
  88. CASTOFF- prevents messages from users 
  89. syntax:  CASTOFF
  90. ---CASTOFF ALL -blocks messages from users and server (see caston)
  91.  
  92. CASTON-allows workstation to receive messages again.
  93.  
  94. CHKDIR- displays info on volumes and dirs
  95. syntax: CHKDIR <dir>
  96.     displays:
  97.        -max disk space
  98.        -space in use
  99.        -space available
  100.  
  101. CHKVOL- display info on disk space on volume
  102.     syntax: CHKVOL <path>
  103.     displays:
  104.        -total disk space
  105.        -space in use
  106.        -space used by deleted files
  107.        -space avail if files are purged
  108.        -disk space avail to user on volume
  109. COLORPAL- used to change colors of menus
  110. DOSGEN-allows diskless workstations to boot DOS from server
  111.    To use:
  112.     1) create DOS boot disk
  113.     2) boot off disk, load NW client software until network drive 
  114.        appears
  115.     3) DOSGEN creates image file from disk that can be used by 
  116.        workstation.
  117.        *image file= SYS:LOGIN\NET$DOS.SYS
  118. DSPACE- limits amount of disk space that can be used by dir/user
  119. ENDCAP- dtop redirecting (see CAPTURE) LPT port to print queue
  120.    syntax: ENDCAP <params>
  121.       paramerters:
  122.      L=<number>     (local) specifies which LPT port to stop
  123.         caturing (1-3)
  124.      ALL         endcaps all LPT ports
  125.      C          (cancel)- stops capture and discards stored data
  126.             w/o printing.
  127. FCONSOLE- change and display server status, user connections and
  128.    broadcast messages; *must have SysOp rights to fully utilize utility*
  129. FILER- work w/ volume, dir and file info: display/change current dir
  130.    and file security.
  131. FLAG- display and change file attribs.
  132.    -to view file attribs type <filer>
  133.    -to change file attribs (see file attribs part I)
  134.       -add attrib
  135.      FLAG <filename> "+"<attrib(s)>
  136.       -del attrib
  137.      FLAG <filename> "-"<attrib(s)>
  138.    -you can add and del attribs at the same time
  139.    ei.  FLAG myfile.pas +p -ro
  140.    *when add/del multiple attribs seperate w/ a space.
  141. FLAGDIR- display/change dir attribs (see dir attribs part I)
  142.    (use same type stuff as FLAG command)
  143. GRANT- assign trustee rights to users
  144.    syntax:   GRANT <rights> TO <username> /<params>
  145.    put a space between multiple rights
  146.    parameters:
  147.       /s      subdirs        /f         files
  148. LISTDIR-view info about sub dirs in a dir
  149.    syntax:     LISTDIR <path> /<parameters>
  150.       parameters:
  151.      /rights - displays IRM of all sub dirs
  152.      /effective rights - displays all effective rights of sub dirs
  153.      /subdirectories - displays sub dirs and their sub dirs....
  154.      /all - combination of all four parameters
  155. LOGIN- logs onto server; executes system and user login script
  156.    syntax:  LOGIN <server/user>
  157.    *everytime you log on to new server you are logged off of previous
  158.    one* {also see ATTACH}
  159. LOGOUT- logs off of server
  160.    *if you logged in to multiple servers LOGOUT logs you off of all
  161.    servers*
  162. MAKEUSER- create/delete user accounts of objects;
  163.    2 versions: menu and command-line
  164.    {for those of us who are not SysOp's this util is useless; if you are
  165.    a SysOp and reading this... READ THE NOVELL MANUALS they go much more
  166.    in depth on all of this stuff}
  167. MAP- map drive letters to network directories (same as SUBST in dos)
  168.    syntax:   MAP <letter> := <path>
  169.    ei. MAP V:=VOL1:USERS\MYSTUFF
  170. NCOPY- copies files; preserves file attribs and name space info
  171.    syntax:  NCOPY <source_file> <destination> /<param>
  172.    parameters:
  173.       /A      (archive bit) copies files w/ archive needed attribe *does
  174.           not remove archive attrib
  175.       /C      (copies files w/o preserving file attribs and name space info
  176.       /E      (empty subdirs) copies empty subdirs; *must be used with /S
  177.           param*
  178.       /F      (force sparse files) forces OS to write to sparse files (???)
  179.       /I      (inform) warn user if name space and attribs couldn't be
  180.           copied because distination volume doesn't support it
  181.       /M      (archive bit) same as /A except removes Archive needed attrib
  182.       /S      (subdirs)- copies subdirectories + files
  183.       /V      (verify)- verifies that original + new files are identical
  184. NDIR- lists files + subdirs in a dir + file info about each {!very useful!}
  185. syntax:   NDIR <path> /<params>
  186. parameters:
  187.       /HELP   displays params and command format
  188.       /DATES  displays dates of file: created,last modified, last archived,
  189.       last accessed
  190.       /DO     directories only
  191.       /FO     files only
  192.       /SUB    shows subdirss + all subsequent subdirs
  193.       /LONG   (long names) *Mac, OS/2 NFS* displays files names longer then
  194.        DOS names
  195.       /MAC    displays Mac files + subdirs
  196.       /RIGHTS displays Inherited and effective rights + file/subdir attribs
  197.       /<attrib>  {see part I} displays files with specified attrib(s)
  198.        *seperate multi attribs with space*
  199.       /NOT <attrib>  displays files without specified attrib(s)
  200.       /OW EQ <username>  displays files owned by <username> 
  201.        *also use /OW NOT EQ <username>  for files NOT owned by <username>
  202.       /SI GR <number>  size greater than <number> of bytes; *also use
  203.       /SI NOT GR <number>  for files smaller than <number> bytes
  204.       /SI EQ <number>  files with size equal to <number> bytes *also 
  205.       /SI NOT EQ <number>  files size not equal to <number> bytes
  206.       /SI LE <number>  files with size less than <number> bytes *also
  207.       /SI NOT LE <number>  {figure it out for yourself}
  208.       /UP BEF <date>  updated before <date> (mm-dd-yy) *also see
  209.       /UP NOT BEF <date>
  210.       /UP EQ <date>   updated equal to <date>  *also see
  211.       /UP NOT EQ <date>
  212.       /UP AFT <date>  updated after <date>  *also see
  213.       /UP NOT AFT <date>
  214.       /CR BEF <date>  created before <date> *also see
  215.       /CR NOT BEF <date>
  216.       /CR EQ <date>  created date equal to <date>  *also see
  217.       /CR NOT EQ <date>
  218.       /CR AFT <date>  created date after <date>  *also see
  219.       /CR NOT AFT <date>
  220.       /AC BEF <date>  last accessed date before <date> *also see
  221.       /AC NOT BEF <date>  
  222.       /AC EQ <date>  last accessed date equal to <date> *also see
  223.       /AC NOT EQ <date> 
  224.       /AC AFT <date>  last accessed date after <date> *also see
  225.       /AC NOT AFT <date>
  226.       /AR BEF <date>  archived before <date> *also see
  227.       /AR NOT BEF <date>
  228.       /AR EQ <date>  archived date equal to <date>  *also see
  229.       /AR NOT EQ <date>
  230.       /AR AFT <date>  archived date after <date>  *also see
  231.       /AR NOT AFT <date>
  232.       /SORT O  sort by owner  (  /REV SORT O  reverse sort )
  233.       /SORT SI  sort by size  (  /REV SORT SI  )
  234.       /SORT UP  sort by update date  (  /REV SORT UP  )
  235.       /SORT CR  sort by creation date  (  /REV SORT CR  )
  236.       /SORT AC  sort by last accessed date *oldest -> newest*
  237.      (  /REV SORT AC  )
  238.       /UN  unsorted   (  /REV UN  )
  239. NETBIOS- shows info about NETBIOS
  240.    NETBIOS I   shows version of NETBIOS; whether it is loaded or not
  241.          which interrupts it is using
  242.    NETBIOS U   unloads NETBIOS from memory
  243. NMENU- exucute the menus created for users 
  244.    syntax:  NMENU <filename>
  245.    used in login scrips- user enters menu immediately
  246. NPRINT- used to print ASCII + preformatted documents; used outside 
  247.     an application
  248.     syntax:    NPRINT <parameters>
  249.      parameters:
  250.     B=<name>     (banner) 12 char max; appears at lower part of 
  251.            banner page; default = username
  252.     C=<number>   (copies)  number of copies to print; default = 1
  253.            1 - 999
  254.     D            (delete)  deletes file after printing
  255.     F=<form>     (form)  specifies form (paper) type to print on;
  256.              <form> is defined in PRINTDEF
  257.     FF           (form feed) forces form feed
  258.     J=<name>     (job config)  specifies print job config; define
  259.              in PRINTCON; default = first print job config
  260.     NAM=<name>   (name) 12 char max; appears in the upper part of 
  261.              banner page; default - login name
  262.     NB           (no banner) prevents banner page.
  263.     NFF          (no form feed) disables FF at printer
  264.     NONOTI       (no notify) foes not notify user when document 
  265.              is finished printing; default
  266.     NOTI         (notify) notifies {at bottom of screen} when document 
  267.              is finished printing
  268.     NT           (no tabs)  allow app's print formatter to determine
  269.              number of spaces in tab
  270.     PS=<name>    (print server)  specifies print server to print on
  271.     Q=<name>     (queue)  specifies print queue to send job to
  272.     S=<name>     (server) specifies server to send job to 
  273.     T=<number>   (tabs)  specifies # of spaces for each tab stop
  274. NVER- see the version number of following programs running on server and
  275.    workstation
  276.       -NetBios
  277.       -IPX and SPX
  278.       -LAN Driver
  279.       -Shell of NetWare DOS requester
  280.       -Workstation Operating System and version
  281.       -File server name
  282.       -version of NetWare on server
  283. NWXTRACT- used to locate and copy individual files from NetWare CD
  284.   syntax:  NWXTRACT <path> <filename> <destination> /<params>
  285.   {useless....... yes}
  286.    param:
  287.       /S=<name>     (server)  copies files to default location on 
  288.              server
  289.       /T=<type>     (copies files of specified type (DOS,MAC,OS2,
  290.                SER[SERVER],UNX,WIN)
  291.       /?   help-displays help
  292. PAUDIT- displays accounting records for server; { accounting 
  293.         feature must be installed}; views user info like time 
  294.         logged in and out; intruder detected times; services being
  295.         used (blocks read/written and connect time)
  296. PCONSOLE- setup printing services
  297.      -create/modify print servers/queues
  298.      -assign operators + users to print queues and print servers
  299.      -assign print servers to print queues
  300.      -assign print queues to printers
  301.      -work with print jobs in queue
  302.      {PSC  -same util except can be run from prompt}
  303. PRINTCON- util to create and use print job config
  304. PRINTDEF- util to define printer; define paper forms (invoices, 
  305.        paychecks....)
  306. PSC- command line version of PCONSOLE
  307.      syntax:
  308.     PSC PS=<printserver> <params>
  309.       or
  310.     PSC P=<number> <params>
  311.       params:
  312.      AB    (abort) stops the current print job + deletes it from 
  313.            print queue
  314.      CD    (cancel down) if "going down after current job" option
  315.            this  param cancels down
  316.      FF    (form fed) causes printer to do a form feed
  317.      M<character>  (mark)  prints a line of specified character
  318.         to show which line printer will start on; default = '*'
  319.      MO=<form>   (mount form) tells print server you have mounted a
  320.         new paper form; forms defined in PRINTDEF
  321.      PAU    (pause) temporarily stops the printer
  322.      PRI    (private) prevents other users from printer on printer;
  323.         printer must be attached to workstation
  324.      SH     (shared)  removes the PRI param
  325.      STAR   (start)  restarts printer paused by PAU
  326.      STAT   (status)  displays status of printers serviced by print
  327.         server
  328.      STO    (stop) stops the printer and deletes the current job 
  329.      STO KEEP   (stop and keep) stops printer but doesn't delete job
  330. PSERVER- loads print server on dedicated workstation instead of server
  331.     syntax:  PSERVER <fileserver> <printserver>
  332.       fileserver = controling file server
  333.       printserver = name of print server defined in PCONSOLE
  334. PURGE- {see part I for info on how NetWare saves deleted files}
  335.      permanently erase deleted files from server
  336.      syntax:  PURGE <path>
  337.      param: to purge current dir and all sub dirs  PURGE /ALL
  338.      {also see SALVAGE}
  339. RCONSOLE- start remote console session on workstation directly 
  340.     connected to server; workstation acts as server keyboard and 
  341.     monitor; *2 NLMs must be loaded: RSPX.NLM + REMOTE.NLM
  342.     syntax:
  343.        RCONSOLE
  344. REMOVE- remove user or group from trustee list of a file or dir
  345.    syntax:  REMOVE <name> <path> <params>
  346.    name = username or group name
  347.    params:
  348.       -SUB    (sub dirs) removes the trustee from all sub dirs
  349.       -F      (files) removes the trustee from all files in dir
  350. RENDIR- rename dirs
  351.    syntax:     RENDIR <old name> <newname>
  352.    to rename current dir replace oldname with '.'
  353. REVOKE- take away user rights to file or dir while leaving them
  354.    in trustee list
  355.    syntax:   REVOKE <rights> <path> FROM <user> <param>
  356.      rights = see part I or all for all rights
  357.      params:
  358.     -SUB   (sub dirs) revokes specified rights from all 
  359.            sub dirs
  360.     -F     (files)  revokes specified rights from all files
  361. RIGHTS- view effective rights in dir
  362.   syntax:    RIGHTS <path>
  363. RPRINTER- util to attach printer to workstation (remote printer)
  364.    syntax:  RPRINTER <printserver> <printer number> <parar>
  365.    printerserver = name of print server that will service printer
  366.    printernumber = number of printer, defined in PCONSOLE
  367.    param:
  368.       -R    disconnects remote printer from print server
  369.       -S    show status of remote printer
  370.    *RPRINTER with no params will let you select printserver,printer
  371.     from a list of each
  372. SALVAGE- restore deleted files that have not been purged; purge 
  373.     individual files
  374.     *if dir is deleted, any files not purged are stored in 
  375.        SYS:\DELETED.SAV
  376. SECURITY- show existing security holes in network
  377. SEND- send on-line messages other workstations
  378.    syntax:
  379.       SEND "<message>" <sever/user>
  380.    message = any text up to 44 chars long; must be in ""s
  381.    server = the server {if user is on same server omit server}
  382.    user = the user's name or connection number (see USERLIST)
  383.    also see USERLIST
  384. SESSION- work with drive mappings 
  385. SETPASS- util to change password
  386. SETTTS- est. number of logical and physical record locks that 
  387.    TTS (Transaction Tracking System) ignores before beginning to 
  388.    track a transaction (?????)
  389. SLIST- displays all file servers on network
  390. SMODE- specify the order in which an application searches through 
  391.    search drives
  392.    syntax:   SMODE <path> <mode> <param>
  393.    mode = number of search mode 
  394.    number:
  395.       0    default; specifies no search instructions; the exe file
  396.        looks for instructions in the NET.CFG file
  397.       1    the program searches any dir specified in the exe file 
  398.        itself, the default dir and then all mapped search drives
  399.       2    the program searches any dir specified in the exe file 
  400.        itself and then the default dir
  401.       3    the program searches any dir specified in the exe file
  402.        itself + then the default dir; then if the open request 
  403.        is read only, the program search all mapped search drives
  404.       4    Not used
  405.       5    the program searches any dir specified in the exe file 
  406.        itself and then all mapped search drives; if no path is 
  407.        specified in the exe file, the program searches the default
  408.        dir and then all mapped drives
  409.       6    Not used
  410.       7    if a dir is specified in the exe file itself the program 
  411.        searches that path first; then if the open request is read 
  412.        only, the program searches the search drives, if no path is
  413.        specified, the program searches the default dir first; if the 
  414.        open request is read only the program searches all mapped 
  415.        search drives. 
  416.        (  ????    ????    ????    ???   ????   ????   ????    ???)
  417. SYSCON- control most of the user, group, accounting and server info.
  418.    SysOp's main util, must have SysOp rights to use
  419. SYSTIME- see file server's date and time
  420. TLIST- see all users + groups that are trustees of file or dir
  421.    syntax:  TLIST <path>
  422.    path = dir or file name
  423. USERDEF- util to create users with template; if creating multiple 
  424.    MAKEUSER is more efficient
  425. USERLIST- list all users currently logged on; displays connection #
  426.    syntax:  USERLIST <server name optional> <params>
  427.    params: 
  428.       /A     (address) displays network + node address for each user
  429.       /O     (object) displays type of bindery object that is attached
  430.          at that connection (ie "user")
  431.       /C     (continuous) allows list to scroll continuously
  432. VERSION- displays version of NetWare util
  433.    syntax:  VERSION <filename>
  434.    *must specify filename*
  435. VOLINFO- see info about volumes
  436. WHOAMI- displays servers YOU are currently logged onto; your username
  437.    ; times logged in; etc
  438.    syntax:   WHOAMI <fileserver> <param>
  439.    params:
  440.       /A   (all) displays all info available by other params
  441.       /C   (continuous) continuous scrolling
  442.       /G   (groups) displays the groups you belong to 
  443.       /O   (object) displays object supervisor info
  444.       /R   (rights) displays effective rights
  445.       /S   (security equivalent) displys security equivalents
  446.       /SY  (system) displays general system info
  447.       /W   (workgroup manager) displays workgroup manager info
  448. WSUPDATE- update files on workstation; compares dates of workstations
  449.    with source files + copies source file if date is more recent
  450.    syntax:   WSUPDATE <source> <destination> /<param>
  451.    params:   
  452.       /C   (copy) copies new file over old one
  453.       /F=<path>/<filename>   directs WSUPDATE to file with commands
  454.      for updating
  455.       /I   (interactive) prompts user for update or not; default
  456.       /L=<path>/<filename>   creates log file to track messages
  457.       /N   (new) creates file and path if they don't exist
  458.       /R   (rename) renames old file with .OLD extension; then 
  459.        copies new file
  460.       /S   (search) searches for outdated files in all sub dirs
  461.       /V=<drive>   updates CONFIG.SYS file making changes to update 
  462.          it from NetWare 3.11 to 3.12
  463. (???????????????????????????)
  464.  
  465. any questions??? email them to:  stuboy@ac.net
  466. thanks stuboy :)
  467.  
  468.  
  469.  
  470.